<div class=page_head>
<h2><%="Latest activity across your projects".t%></h2>
</div>


<%if @projects.size == 0%>
  <div class="tour">  
	<%if @cur_user.have_power?%>
    <h2><%=link_to "Create your first project".t,projects_url + "?act=new"%></h2>
    <%="It takes just a few seconds and you'll be up and running".t%>
    <%else%>
    <h2><%=link_to "Contact your account owner: %s to assign project to you"/ @cur_user.company.account_owner.name,"#"%></h2>
    <%="It takes just a few seconds and you'll be up and running".t%>      
    <%end%>
  </div>
  <%=feature"project"%>
<%end%>
<script>
new Ajax.Updater('custom_logs','/dashboard/custom_logs',{
   onLoading:function(){
     Element.show('indicator_load');
   }, 
   onComplete:function(){
     Element.hide('indicator_load');
   } 
});
</script>
<span id='indicator_load'> 
  <%=image_tag"loading.gif"%><%="updating projects overview, please wait".t%>
</span>
<div id=custom_logs>
</div>
